package com.exam.service.serviceImpl;

import com.exam.entity.EClassUser;
import com.exam.mapper.EClassUserMapper;
import com.exam.service.EClassUserService;

import java.util.List;
import java.util.Map;


public class EClassUserServiceImpl implements EClassUserService {

    private EClassUserMapper eClassUserMapper;

    public void seteClassUserMapper(EClassUserMapper eClassUserMapper) {
        this.eClassUserMapper = eClassUserMapper;
    }

    @Override
    public List<EClassUser> get_class_user_list_by_c_id(int c_id) {
        return eClassUserMapper.get_class_user_list_by_c_id(c_id);
    }

    @Override
    public int del_class_user_list_by_cu_id(int cu_id) {
        return eClassUserMapper.del_class_user_list_by_cu_id(cu_id);
    }

    @Override
    public List<Map<String, Object>> get_not_in_class_user_by_c_id(int c_id) {
        return eClassUserMapper.get_not_in_class_user_by_c_id(c_id);
    }

    @Override
    public int add_class_user(List<EClassUser> eClassUsers) {
        return eClassUserMapper.add_class_user(eClassUsers);
    }

}
